package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysOverPassControlRowMapper implements RowMapper<SysOverPassControl>{



	@Override
	public SysOverPassControl mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysOverPassControl  lj= new SysOverPassControl();
		lj.setId(rs.getInt("id"));
		lj.setChennels_number(rs.getString("chennels_number"));
		lj.setIp(rs.getString("ip"));
		lj.setDevice_id(rs.getString("device_id"));
		lj.setChennels_name(rs.getString("chennels_name"));
		lj.setLng(rs.getString("lng"));
		lj.setLat(rs.getString("lat"));
		return lj;
	}

}
